Repository navigation
Add support vs26 ci - #1394
Add support vs26 ci#1394
Conversation
Signed-off-by: Ruben Mujdei <ruben.mujdei@analog.com>
6cba1c1 to
9740bd9
Compare
9740bd9 to
d7b70fc
Compare
f61591f to
a22e67a
Compare
| cp .\msvcp140.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
| cp .\vcruntime140.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
| }elseif ( "$Env:COMPILER" -eq "Visual Studio 18 2026" ) { | ||
| $VS_version="VS2019" |
There was a problem hiding this comment.
Should be "VS2026", right?
There was a problem hiding this comment.
VS_version refers to the libusb Visual Studio version, which should be set to VS2022 for compilers version 2022 or newer. To avoid confusion, this variable has been renamed from VS_version to USB_VS_version.
| cp .\vcruntime140.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
| }elseif ( "$Env:COMPILER" -eq "Visual Studio 18 2026" ) { | ||
| $VS_version="VS2019" | ||
| cd 'C:\Program Files\Microsoft Visual Studio\18\Enterprise\VC\Redist\MSVC\14.29.30133\x64\Microsoft.VC142.CRT' |
There was a problem hiding this comment.
VC142 is for MSVC2019. Shouldn't it be VC145?
There was a problem hiding this comment.
That's right, but for some reason doing that returns an error, check this pipeline
| }elseif ( "$Env:COMPILER" -eq "Visual Studio 18 2026" ) { | ||
| $VS_version="VS2019" | ||
| cd 'C:\Program Files\Microsoft Visual Studio\18\Enterprise\VC\Redist\MSVC\14.29.30133\x64\Microsoft.VC142.CRT' | ||
| cp .\msvcp140.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY |
There was a problem hiding this comment.
I noticed that for any of the versions (2019, 2022, 2026), vcruntime140.dll is being copied. Maybe double check this is ok.
There was a problem hiding this comment.
As discussed, vcruntime140.dll and msvcp140.dll are the standard libraries for the C++ and C runtimes. Because these files share the same name for backward compatibility, the specific version copied depends entirely on the directory targeted by the previous cd command.
a22e67a to
b9daae7
Compare
Signed-off-by: Ruben Mujdei <ruben.mujdei@analog.com>
b9daae7 to
3bc9084
Compare
|
Artifacts created by build 2026 tested in a client app and works fine. |
Signed-off-by: Ruben Mujdei <Ruben.Mujdei@analog.com>
a979519 to
7141d4c
Compare
PR Description
necessary to understand them. List any dependencies required for this change.
any space), or simply check them after publishing the PR.
description and try to push all related PRs simultaneously.
PR Type
PR Checklist